package com.qf.ebook.service.impl;

import com.qf.ebook.entity.EbookCategory;
import com.qf.ebook.mapper.EbookCategoryMapper;
import com.qf.ebook.service.EbookCategoryService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @author Administrator
 * @version V1.0
 * @Project spring_ebook
 * @Package com.qf.ebook.service.impl
 * @Description: ${TODO}
 * @Date 2021/10/2 16:23
 */

@Service
public class EbookCategoryServiceImpl implements EbookCategoryService {
    @Autowired
    private EbookCategoryMapper ebookCategoryMapper;

    @Override
    public List<EbookCategory> findAll() {
        return ebookCategoryMapper.selectByExample(null);
    }
}
